WPO\WC\PDF_Invoices\Documents\Order_Document_Methods D

Total Complexity 254
Dependencies 6
Dependents 0
Total lines 1,256
Lines of code 880
Logical lines of code 485
Comment lines 231
Methods 64
Properties 0

Methods 64

Method Rating Maintainability Complexity Lines of code
get_tax_rate()
B
39 23 57
get_woocommerce_totals()
B
41 18 49
get_order_items()
A
39 13 61
get_order_notes()
A
44 14 45
get_thumbnail()
A
44 13 38
get_order_discount()
A
43 12 48
get_custom_field()
A
52 13 22
get_tax_rates_from_order()
A
51 11 25
get_product_attribute()
A
52 9 22
get_order_taxes()
S
49 7 29
get_shipping_notes()
S
56 6 17
order_notes()
S
56 6 17
ships_to_different_address()
S
51 5 28
get_formatted_item_price()
S
59 6 12
is_order_prop()
S
44 2 54
get_shipping_address()
S
56 4 18
get_order_fees()
S
56 4 18
get_tax_rate_by_id()
S
59 4 14
get_thumbnail_id()
S
63 4 11
get_order_grand_total()
S
55 3 19
custom_field()
S
65 4 9
show_shipping_address()
S
67 4 7
show_billing_address()
S
67 4 7
get_billing_address()
S
60 3 14
get_invoice_number()
S
63 3 11
get_shipping_phone()
S
68 3 7
get_phone()
S
64 3 9
get_order_shipping()
S
58 2 15
get_billing_email()
S
65 3 8
get_payment_method()
S
62 2 11
get_tax_rate_ids()
S
62 2 11
get_order_date()
S
62 2 11
format_price()
S
65 2 9
get_order_subtotal()
S
64 2 9
get_invoice_date()
S
68 2 7
get_document_notes()
S
69 2 7
is_refund()
S
66 2 8
calculate_tax_rate()
S
64 2 9
get_order_number()
S
64 2 10
get_refund_parent()
S
68 2 8
document_notes()
S
68 2 8
get_refund_parent_id()
S
67 2 8
order_number()
S
81 1 3
shipping_phone()
S
80 1 3
invoice_date()
S
81 1 3
billing_address()
S
81 1 3
invoice_number()
S
81 1 3
billing_email()
S
81 1 3
get_billing_phone()
S
75 1 4
wc_price()
S
79 1 3
billing_phone()
S
81 1 3
shipping_notes()
S
81 1 3
order_grand_total()
S
75 1 4
shipping_method()
S
81 1 3
shipping_address()
S
81 1 3
order_date()
S
81 1 3
get_current_date()
S
78 1 3
order_discount()
S
75 1 4
current_date()
S
81 1 3
order_shipping()
S
75 1 4
payment_method()
S
81 1 3
order_subtotal()
S
75 1 4
get_shipping_method()
S
71 1 5
product_attribute()
S
79 1 3